﻿<?php
/**
 * Classe GET/SET da tabela TB_NOTA_FISCAL_ITEM
 * 
 * @author			Mário R. Castro
 * @copyright		Voitech Sistema
 * @package			SEMAS
 * @subpackage		semas.application.models
 * @version			1.0
*/
class App_Model_NotaFiscalItem extends Voitech_Model{

	protected $coNotaFiscalItem;
	protected $vlPreco;
	protected $stStatus;
	protected $dtCadastro;
	protected $stExcluir;
	
	private $obServico;
	private $obNotaFiscal;
    
    function __construct($coNotaFiscalItem=null) {
        if(!is_null($coNotaFiscalItem)){
            $this->setCoNotaFiscalItem($coNotaFiscalItem);
        }
    }

    
	/**
	*	metodos GET/SET Objeto Servico
	*/	
	public function setObServico(App_Model_Servico $obServico) {
		$this->obServico = $obServico;
		return $this;
	}
	public function getObServico() {
		return $this->obServico;
	}

	/**
	*	metodos GET/SET Objeto NotaFiscal
	*/	
	public function setObNotaFiscal(App_Model_NotaFiscal $obNotaFiscal) {
		$this->obNotaFiscal = $obNotaFiscal;
		return $this;
	}
	public function getObNotaFiscal() {
		return $this->obNotaFiscal;
	}	

	
	/**
	*	metodos GET
	*/
    public function getStStatus() {
        return $this->stStatus;
    }
	
    public function getDtCadastro() {
        return $this->dtCadastro;
    }
	
    public function getCoNotaFiscalItem() {
        return $this->coNotaFiscalItem;
    }

    public function getcoNCtaFiscal() {
        return $this->coNotaFiscal;
    }

    public function getCoServico() {
        return $this->coServico;
    }

    public function getvlPreco() {
        return $this->vlPreco;
    }
	
	public function getFlagExcluir() {
		return $this->stExcluir;
	}	
	
	/**
	*	metodos SET
	*/
    public function setStStatus($stStatus) {
        $this->stStatus = $stStatus;
    }

    public function setDtCadastro($dtCadastro) {
        $this->dtCadastro = $dtCadastro;
    }
	
    public function setCoNotaFiscalItem($coNotaFiscalItem) {
        $this->coNotaFiscalItem = $coNotaFiscalItem;
    }

    public function setCoNotaFiscal($coNotaFiscal) {
        $this->coNotaFiscal = $coNotaFiscal;
    }

    public function setCoServico($coServico) {
        $this->coServico = $coServico;
    }

    public function setVlPreco($vlPreco) {
        $this->vlPreco = $vlPreco;
    }	

	public function setFlagExcluir( $stExcluir ) {
		$this->stExcluir = $stExcluir;
		return $this;
	}	
	
}